#include "MVDataAgent.h"
#include "MVDataAgentXML.h"



CMVDataAgent * CMVDataAgent::CreateMVDataAgent( CMVData * mvdata, TYPE_MVDATA_STORE type, const std::string dataname )
{
	CMVDataAgent * agent = NULL;
	
	switch( type )
	{
	case TYPE_MVDATA_XML:
		agent = new CMVDataAgentXML( mvdata, dataname );
		break;

	case TYPE_MVDATA_DATABASE:
	
	default:
		break;
	}

	return agent;

}

CMVDataAgent::~CMVDataAgent()
{
	// nothing to do now
}


CMVDataAgent::CMVDataAgent( CMVData * mvdata, const std::string dataname )
{

}

CMVDataAgent::CMVDataAgent()
{
	//TODO
}
